import { jsx } from '@emotion/react'

import { type IconProps } from './util'

export function RugbyAuLogo(props: IconProps) {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width="48"
      height="48"
      fill="none"
      role="img"
      aria-label="Rugby Australia logo"
      {...props}
    >
      <g clipPath="url(#a)">
        <circle cx="24" cy="24" r="24" fill="#171772" />
        <g clipPath="url(#b)">
          <path
            fill="#fff"
            d="m10.601 31.84-.25-.728H7.486l-.25.728a.472.472 0 0 1-.446.319H5l2.735-7.27h2.354l2.747 7.27h-1.788a.472.472 0 0 1-.447-.319Zm-1.688-5.098-.926 2.735H9.84l-.926-2.735ZM9.742 23.128l-1.09-2.18h-.959v1.968c0 .26-.212.473-.472.473H5.818v-6.797c0-.26.212-.472.472-.472h3.168c1.613 0 2.528 1.067 2.528 2.419 0 1.264-.774 1.94-1.45 2.18l1.483 2.67h-1.855a.472.472 0 0 1-.422-.261Zm.338-4.6c0-.49-.414-.774-.905-.774H7.692v1.559h1.483c.49 0 .905-.272.905-.785ZM21.114 19.76c0-2.311 1.766-3.76 3.934-3.76 1.624 0 2.605.86 3.106 1.766l-1.215.633a.467.467 0 0 1-.57-.118c-.438-.503-1.201-.851-2.101-.45a2.124 2.124 0 0 0-1.247 1.932c0 1.186.84 2.1 2.027 2.1.535 0 1.08-.218 1.34-.436v-.567h-1.162a.472.472 0 0 1-.472-.472v-1.173h3.037c.26 0 .472.212.472.472v2.416c-.784.861-1.841 1.417-3.215 1.417-2.169 0-3.934-1.45-3.934-3.76ZM29.359 23.39v-6.798c0-.26.211-.472.472-.472h3.648c1.438 0 2.125.937 2.125 1.853 0 .915-.556 1.515-1.242 1.667.773.12 1.384.861 1.384 1.777 0 1.057-.71 1.972-2.137 1.972h-4.25Zm4.337-5.09c0-.348-.261-.6-.642-.6h-1.82v1.21h1.82c.38 0 .642-.25.642-.61Zm.142 2.856c0-.36-.262-.654-.72-.654h-1.885v1.308h1.886c.447 0 .719-.261.719-.654ZM38.378 23.39v-2.932l-2.757-4.338h1.755c.223 0 .428.117.541.31l1.398 2.371 1.376-2.368a.63.63 0 0 1 .544-.313h1.763l-2.747 4.337v2.931h-1.874l.001.001Z"
          />
          <path
            fill="#4AFFBB"
            d="M18.595 16.12a.473.473 0 0 0-.472.472v3.79c0 .72-.368 1.27-1.073 1.432v1.688c2.012-.157 2.97-1.379 2.97-3.066V16.12h-1.424ZM16.124 21.81c-.708-.165-1.063-.713-1.063-1.43v-3.788a.472.472 0 0 0-.473-.472h-1.435v4.326c0 1.662.953 2.889 2.97 3.054v-1.69ZM18.595 24.899a.473.473 0 0 0-.472.472v3.79c0 .72-.368 1.27-1.073 1.432v1.689c2.012-.157 2.97-1.38 2.97-3.067V24.9h-1.424v-.001ZM16.124 30.59c-.708-.166-1.063-.714-1.063-1.43v-3.79a.472.472 0 0 0-.473-.472h-1.435v4.327c0 1.661.953 2.888 2.97 3.053v-1.69.001Z"
          />
        </g>
      </g>
      <defs>
        <clipPath id="a">
          <path fill="#fff" d="M0 0h48v48H0z" />
        </clipPath>
        <clipPath id="b">
          <path fill="#fff" d="M5 16h38v16.281H5z" />
        </clipPath>
      </defs>
    </svg>
  )
}
